package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap21 extends OSMap
	{
		public function OSMap21()
		{
			super();

			var ground:OSGround = new OSGround(0, 160, 200, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([9]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 1040, 960, 40, 0, false);
			ground.setNoErosionDown([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]);
			ground.setNoErosionLeft([0, 48]);
			ground.setNoErosionRight([47, 95]);
			ground.setNoErosionDown([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]);
			ground.erode();
			add(ground);

			ground = new OSGround(180, 220, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(340, 280, 200, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([9]);
			ground.erode();
			add(ground);

			ground = new OSGround(520, 220, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(680, 160, 200, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([9]);
			ground.erode();
			add(ground);

			ground = new OSGround(880, 160, 80, 700, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 51, 55, 59, 63, 67, 71, 75, 79, 83, 87, 91, 95, 99, 103, 107, 111, 115, 119, 123, 127, 131, 135, 139]);
			ground.erode();
			add(ground);

		}
	}
}
